package com.purchase.ml.bean.req.order;

import com.purchase.ml.bean.req.shoppingcart.ProductCartReq;
import com.purchase.ml.entity.order.SysOrderMsg;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by kyyang on 2021/2/28 19:24
 */
@Data
public class OrderAdminAddReq {
    @ApiModelProperty(value = "经销商ID")
    @NotNull(message = "ID Dealer")
    private Long dealerId;

    @ApiModelProperty(value = "订单详情：从缓存中查到的")
    private List<ProductCartReq> detail;

    @ApiModelProperty(value = "订单信息：备注信息")
    private SysOrderMsg orderMsg;

}
